#!/bin/bash
i=$1
if [ ! -n "$1" ];then
	forexit=1
	i=help
fi
case $i in
	help|HELP|Help|--help)
		echo "Usage: $0 File"
		exit $forexit
	;;
	/*)	;;
	*)
		echo $1
		exit 2
	;;
esac
status=0
for ((;status == 0;))
do
	# Debug: echo "Good To For"
	export name=${i#*/}
	export i=$name
	case $i in
	*/*)
	# Debug: echo "Good To Case"
		;;
	*)
	status=1
		;;
	esac
done
echo $name
unset name
